//
//  NSString+Fit.h
//  TravelGuideMdd
//
//  Created by BigPolarBear on 14-8-4.
//  Copyright (c) 2014年 mafengwo.com. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Fit)

-(CGFloat)heightWithFont:(UIFont*)font
                   width:(CGFloat)width
           numberOfLines:(NSInteger)numberOfLines;


-(CGFloat)widthWithFont:(UIFont *)font
                 height:(CGFloat)height
          numberOfLines:(NSInteger)numberOfLines;

@end
